<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>

<%--<script src="${ctx}/js/core/business/searchbar/searchbarInit.js"></script>--%>
<div id="searchbar" class="row" style="margin-top:-10px;">
    <div class="col-sm-12 padding-5">
        <div class="well padding-5 margin-bottom-0">

            <div id="alt_sb_searchAlert" class="alert alert-warning" style="display: none;">
                <strong><i class="fa fa-exclamation-circle"></i> No condition, </strong> please choice a project.
            </div>
            <div class="row padding-10 padding-bottom-0">
                <div class="col-sm-3">
                    <%--<div class="input-group" style="width:100%">--%>
                    <%--<input style="width:100%" id="slt_sb_project" class="form-control" name="search_projectId" placeholder="Project"/>--%>
                    <%--<input type="hidden" name="search_projectName" id="h_search_projectName"/>--%>
                    <%--</div>--%>
                    <div class="form-group">
                        <input style="width:100%" id="slt_sb_project" name="search_projectId" placeholder="<spring:message code='SPC_PROJECT'/>"/>
                        <input type="hidden" name="search_projectName" id="h_search_projectName"/>
                    </div>

                    <div class="form-group margin-top-5" style="width:100%">
                        <input type="text" class="form-control" id="txt_sb_serialNumber" name="search_serialNumber" placeholder="<spring:message code='SPC_SERIALNUMBER'/>"/>
                    </div>
                </div>
                <div class="col-sm-3">
                    <div class="form-group">
                        <input style="width:100%" id="slt_sb_station" name="search_stationId" placeholder="<spring:message code='SPC_STATION'/>"/>
                        <input type="hidden" name="stationName" id="h_search_stationName"/>
                    </div>
                    <div class="input-group margin-top-5" style="width:100%">
                        <input class="form-control" type="text" id="dtp_sb_startTime" name="search_startTime" placeholder="<spring:message code='SPC_STARTTIME'/>">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
                <div class="col-sm-3">
                    <div class="form-group">
                        <input style="width:100%" id="slt_sb_slot" name="search_slotNo" placeholder="<spring:message code='SPC_SLOT'/>"/>
                    </div>
                    <div class="input-group margin-top-5">
                        <input class="form-control" type="text" id="dtp_sb_stopTime" name="search_stopTime" placeholder="<spring:message code='SPC_ENDTIME'/>">
                        <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                    </div>
                </div>
                <div class="col-sm-3">
                    <div class="btn-group pull-right">
                        <a href="javascript:void(0)" class="btn btn-sm btn-primary" id="btn_sb_searchBtn"> <i class="fa fa-search"></i> <spring:message code='GLOBAL_BUTTON_SEARCH'/></a>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>